


# class HeroIntroduction():
#     def __init__(self,name,hp=0.0,blueAmount=0.0):
#         self.name=name
#         self.hp=hp
#         self.blueAmount=blueAmount
#     def beAttacked(self):
#         self.hp=self.hp-1000
#
#     def __str__(self):
#         return f'被伽罗攻击后{self.name}的血量还有{self.hp}'
#
# changE=HeroIntroduction(name='嫦娥',hp=5000.5,blueAmount=3000.0)
#
# changE.beAttacked()
#
# print(changE)
